% $Id: analyse_all.m 7 2009-01-27 12:46:40Z Jie.Bao $

clear E B
close all

path = 'C:\Dokumente und Einstellungen\student\Desktop\jie\simon\pilotdaten\';
%folders = dir(path);

E = ExperimentSetup;
B = BatchLoader(path, E);

%{
for i = 1:length(folders)
    idx = regexp(folders(i).name, '[0-9]');
    if folders(i).isdir && ~isempty(idx) && idx(1) == 1
        %disp(['Processing directory ' folders(i).name ' ...']);
        B = BatchLoader([path folders(i).name '/'], E);
        B.Analyze;
    end
end
%}

